package com.hspedu.seckill.model.constant;

/**
 * @author: xujiabing
 * @date: 2024-11-17 17:27
 * @description: redis key常量类
 */
public class RedisCacheConstant {
    public final static String USER = "user:";

    //商品列表页面缓存key
    public final static String GOODS_LIST = "goodsList";
    //商品详情缓存key
    public final static String GOODS_DETAIL = "goodsDetail";
    //缓存过期时长
    public final static Integer CACHE_TIME = 60;

    public final static String SECKILL_GOODS_STOCK = "seckillGoods:";
}
